<!--{template common/header}-->
<!--[name][/name]-->
<!--{eval $wheresql = category_get_wheresql($cat);}-->
<!--{eval $list = category_get_list($cat, $wheresql, $page);}-->
<!--{eval require DISCUZ_ROOT.'./template/xiaoyu_com/portal/portal_viewnum.php';}-->
<div class="theme-navbar">
    <div class="mfwp">
		<a href="./" title="{lang homepage}">{$language[mfhome]}</a><em class="fa">&#xe63f;</em>$cat[catname]
        <ul class="nav">
			<div class="bm_h cl" style="background:none; line-height:inherit; border:none; padding-right:0">
				<!--{if ($_G['group']['allowpostarticle'] || $_G['group']['allowmanagearticle'] || $categoryperm[$catid]['allowmanage'] || $categoryperm[$catid]['allowpublish']) && empty($cat['disallowpublish'])}-->
				<a href="portal.php?mod=portalcp&ac=article&catid=$cat[catid]" class="y xi2 addnew">{lang article_publish}</a>
				<!--{/if}-->
			</div>
            
               </ul>
    </div>
</div>
<!--{ad/text/wp a_t}--> 

<style id="diy_style" type="text/css"></style>
<style>.xiaoyu_wp{ width:100%}body{ background:#f4f6f5}</style>
<div class="wp mfwp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
  <div class="mfwp xiaoyu_catwp"> 
   <div class="content-box-wp"> 
    <div class="content-box-mr"> 
     <div class="xiaoyuajax article_box cl">
     			<!--{loop $list['list'] $value}-->
				<!--{eval $highlight = article_title_style($value);}-->
				<!--{eval $article_url = fetch_article_url($value);}-->
      <div class="items xiaoyu_article">
      <!--{if $value[pic]}--><a href="$article_url" class="fish_focus"><img src="$value[pic]" alt="$value[title]" class="thumb" /></a><!--{/if}-->
       <div class="xiaoyu_title">
        <h2><a href="$article_url">$value[title]</a></h2>
       </div>
       <div class="meta">
        <span class="post-time"><em class="fa">&#xe7d8;</em>$value[dateline]</span>
        <span class="post-view"><em class="fa">&#xe678;</em>{echo get_article_num($value[aid],'viewnum')}</span>
        <span class="post-comm"><em class="fa">&#xe667;</em>{echo get_article_num($value[aid],'commentnum')}</span>
        
        <!--{if $_G['group']['allowmanagearticle'] || ($_G['group']['allowpostarticle'] && $value['uid'] == $_G['uid'] && (empty($_G['group']['allowpostarticlemod']) || $_G['group']['allowpostarticlemod'] && $value['status'] == 1)) || $categoryperm[$value['catid']]['allowmanage']}-->
        <span class="post-edtit"><a href="portal.php?mod=portalcp&ac=article&op=edit&aid=$value[aid]">{lang edit}</a></span>
            <span class="post-edtit"><a href="portal.php?mod=portalcp&ac=article&op=delete&aid=$value[aid]" id="article_delete_$value[aid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a></span>
        <!--{/if}-->
       </div>
       <p class="note">$value[summary]</p>
      </div>
      <!--{/loop}--><!--{if $list['multi']}--><div class="pgs xiaoyu_pgs cl">{$list['multi']}</div><!--{/if}-->
     </div>
    </div> 
   </div> 
   <div class="xiaoyu_widget_r"> 
    <div class="widget-box widget-asst" style="padding:0">
    <!--[diy=diyadd]--><div id="diyadd" class="area"></div><!--[/diy]-->
     
    </div>
    <div class="widget-box widget_tabtext"> 
     <div class="xiaoyu_tabhd" id="tabnav">
      
      <!--[diy=diytabnav]--><div id="diytabnav" class="area"></div><!--[/diy]-->
     </div> 
     <div id="tabcontent" class="tab-content"> 
      <ul id="tab-recent" class="tab_postlist tab-pane fade thumbs-enabled active in">
      <!--[diy=diyrecent]--><div id="diyrecent" class="area"></div><!--[/diy]-->
      </ul>
      
      <ul id="tab-popular" class="tab_postlist tab-pane fade thumbs-enabled"> 
      <!--[diy=diypopular]--><div id="diypopular" class="area"></div><!--[/diy]-->
       
      </ul>
      <ul id="tab-comments" class="tab-pane fade avatars-enabled">
      <!--[diy=diycomments]--><div id="diycomments" class="area"></div><!--[/diy]-->
      </ul> 
     </div> 
    </div> 
    <div class="widget-box widget-postlist">
    <!--[diy=diyjh]--><div id="diyjh" class="area"></div><!--[/diy]-->
    </div>
   </div>
  </div>

<!--{template common/footer}-->


